<template>
  <el-form-item label="API状态">
    <el-radio-group v-model="dataArr.status" @change="burlChangeVal">
      <el-radio :label="100">已发布</el-radio>
      <el-radio :label="201">设计中</el-radio>
      <el-radio :label="202">待确定</el-radio>
      <el-radio :label="203">开发</el-radio>
      <el-radio :label="204">对接</el-radio>
      <el-radio :label="205">测试</el-radio>
      <el-radio :label="206">完成</el-radio>
      <el-radio :label="301">异常</el-radio>
      <el-radio :label="302">维护</el-radio>
      <el-radio :label="303">废气</el-radio>
    </el-radio-group>
  </el-form-item>
</template>

<script>
  export default {
    name: 'apiState',
    props: ['form'],
    data() {
      return {
        radioApiState: 1,
        dataArr: this.form
      }
    },
    methods: {
      burlChangeVal() {
        this.$emit('changeFormFun', this.dataArr)
      }
    }
  }
</script>

<style scoped>

</style>
